fixed register modal layout