Fixed calendar format. Flash message.
Set layout to false for the the modal.