fix bug with default value of isModal