Adding modals, fixing file rights