Improved code and moved the code of attendee registration modal and attendee registration form to website_event so that when website_evnt is installed than also the attendee registration process will not break.