close lightning component on button click code example Example: close quickaction window $A.get("e.force:closeQuickAction").fire();