Modal for adding assignments