Use modal for registration