Check if modal form is active