Made it so the add layers dialog is not partially hidden on smaller screens.