If you decline the mission and then go back to take it, hitting [esc] on the first screen where “Continue” is the only option will undock you from the station. It should probably either return you to the previous screen or continue on to the next screen.
Resolve
Archive
Reopen
Create
Edit
Save
Attach File
Cancel Edit