Added condition to skip attachment function if no files
Condensed sql_select_linked_requests
Added request saved confirmation