See the GSP on the back glass of this tank. That was done in about 15 seconds with gel superglue.
Don't glue the heavy plug. Remove the coral from the plug and just glue the coral to the glass. Plugs are ugly. Coral should always be removed from the plug and then glued to rock.
Aloha,
Mark