fix modal after camera dismissal