Fixed modal dismiss and adding panels and rows