added registermodal layout

any suggestions for a validation framework?