removed trailing whitespace
fixing the create package modal
refactoring on create package form and create action