improve dialog layout

3 jobs for 5-add-kratos-adapter