Updated CREATE functions to be more efficient- (less AJAX calls)- modal close button)