Fix height of profile modal.
Add modal close after duration.