added layout for popupform