Fix bug with new app modal