added command to check for bootstrap modal