Added logic to launch internal frames in the center of the desktop pane.
Added validations to the leave types form.