Disable close button when splash screen displayed